import { apiClient } from './client';
import type { PaginationParams, PaginatedResponse } from '../../types/api';
import type { GradeItem } from '../../types/grade';

export const gradeApi = {
  // Get grade list
  getGradeList: async (params: PaginationParams): Promise<PaginatedResponse<GradeItem>> => {
    return apiClient.get('/api/v1/grade/list', { params });
  },
};
